<template>
  <div class="dashboard-container">
    <div class="dashboard-text">Welcome!</div>
    <p>欢迎登录动力源诊断助手管理平台</p>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  name: "Dashboard",
  computed: {
    ...mapGetters(["name"]),
  },
};
</script>

<style lang="scss" scoped>
@import "@/styles/common.scss";
.dashboard {
  &-container {
    @include flexLayout(center, center);
    flex-direction: column;
    height: calc(100vh - 90px);
    background-color: #ffffff;
    margin: 20px;
    font-weight: bold;
    color: #3d659b;
    border-radius: 12px;
    p {
      letter-spacing: 0.15em;
      font-size: 48px;
    }
  }
  &-text {
    font-size: 46px;
    line-height: 46px;
  }
}
</style>
